<style>
	#uploader .filelist li p.input{top:38px; width: 70%;}

</style>
<div id="uploader" class="wu-example {{$viewClass['form-group']}} {!! !$errors->has($errorKey) ? '' : 'has-error' !!}">
    <label for="{{$id}}" class="{{$viewClass['label']}} control-label">{{$label}}</label>
	<div class="{{$viewClass['field']}}">
		@include('admin::form.error')
		<ul class="filelist allcount">
			@if($value)
					@foreach($value as $k=>$row)
					<li id="WU_FILEs_{{$k}}" class="state-complete filelistlist">
						<p class="title"></p>
						<p class="imgWrap"><img src="{{atlasThumb($row['thumb'])}}"></p>
						<p class="input"><input type="text" class="form-control" name="smalltext[]" value="{{$row['title']}}"><input type="text" class="form-control" name="listorder[]" value="{{$row['listorder']}}"></p>
						<input type="hidden" name="files[]" id="v-WU_FILEs_0" value="{{$row['thumb']}}"></span>
						<input type="hidden" name="list_id[]" value="{{$row['id']}}">
						<div class="file-panel">
							<span class="cancel" onclick="deletefile(this, {{$row['id']}})">删除</span>
						</div>
					</li>
					@endforeach
				@endif
			</ul>
		<div class="queueList">
			<div id="dndArea" class="placeholder">
				<div id="filePicker">
				
				</div>
				<p>或将照片拖到这里，单次最多可选300张</p>
			</div>
			
			
		</div>
		<div class="statusBar" style="display:none;">
			<div class="progress">
				<span class="text">0%</span>
				<span class="percentage"></span>
			</div><div class="info"></div>
			<div class="btns">
				<div id="filePicker2"></div><div class="uploadBtn">开始上传</div>
			</div>
		</div>
		@include('admin::form.help-block')
		
		<div class="hide uploader-cao"><div class="file-panel"><span class="cancel">删除</span><span class="rotateRight">向右旋转</span><span class="rotateLeft">向左旋转</span></div></div>
	</div>
</div>
